package com.project.class4_7;

public class ReadWriteTest {
    public static void main(String[] args) {
        RWTest rw= new RWTest();

        new Thread(){
            public void run(){
                rw.read1();
            }
        }.start();


        new Thread(){
            public void run(){
                rw.write();
            }
        }.start();

        new Thread(){
            public void run(){
                rw.read2();
            }
        }.start();


    }
}
